All Questions
25 questions
3votes
1answer
5kviews
How can I Implement Dropout in SciKit-Learn?
I am working on an air-gapped PC and can only access the SciKit-Learn machine learning library. Unfortunately, its MLPClassifier doesn't include a Dropout ...
0votes
1answer
377views
why sign flip to indicate loss in hyperopt? [closed]
I am using the hyperopt to find best hyperparameters for Random forest. My objective is to get the parameters which returns the best f1-score as my dataset is ...
0votes
1answer
863views
Fitting column wise ordinal encoder
I already posted this here but no response, so posting it here I have a dataframe like as shown below ...
2votes
0answers
410views
Understanding an MLP coefficient array
I have implemented a super simple MLP using SKLearn. I have a 2 hidden layer model and 31 features on the input layer. So the lengths of the arays are 31, 20 and 10. ...
0votes
1answer
154views
Neural network for a data with 5 inputs and 1 output of 3 different types
I am trying to create a neural network for my data which is as follows ...
3votes
1answer
2kviews
incremental learning vs transfer learning
Can anyone explain me how incremental learning differs from transfer learning with example? Also does Transfer learning limited to neural networks?
1vote
1answer
3kviews
Improve the accuracy for multi-label classification (Scikit-learn, Keras)
I am going to train machine learning models that assign certain tags to a paragraph describing an activity. In my database, for a give paragraph of description (X), there are several corresponding ...
2votes
1answer
906views
Is a good shuffle random state for training data really good for the model?
I'm using keras to train a binary classifier neural network. To shuffle the training data I am using shuffle function from scikit-learn. I observe that for some shuffle_random_state (seed for ...
1vote
0answers
46views
Is there a good online course for working with sklearn MLPClassifier?
I'am implementing an App for which I need a neural network. Because: I want to classify each DOM-text-element of an webpage which conains any curriculum vitae of a person. The neural network should be ...
1vote
1answer
756views
Python Neural Network - running into x_test y_test fit errors
I have built a neural network and it worked fine with a small dataset of around 300,000 rows with 2 categorical variables and 1 independent variable, but was running into memory errors when i ...
8votes
1answer
3kviews
Does MLPClassifier (sklearn) support different activations for different layers?
According to the documentation, it says the 'activation' argument specifies: "Activation function for the hidden layer" Does that mean that you cannot use a different activation function in ...
3votes
1answer
912views
How to make machine learning specifically for an individual in a group when we have the data on the group?
Lets specify the question with the help of the figure below: We know that one part of the behaviour (our target Y) will depend on common parameters (for the group). It is represented by the grey zone ...
1vote
0answers
80views
The MLP library on sklearn [closed]
I have been using the mlp library on the sklearn on some unsupervised data. I have been getting training set scores between 0.7 - 0.9 .However my test set scores have been really low. I assume this is ...
8votes
2answers
13kviews
How to plot cost versus number of iterations in scikit learn?
One of the recommendations in the Coursera Machine Learning course when working with gradient descent based algorithms is: Debugging gradient descent. Make a plot with number of iterations on the x-...
5votes
2answers
5kviews
Sci-kit learn function to select threshold for higher recall than precision
When we care more that there should be no false negatives, as far as possible… ie. higher recall (video is suitable for kid or not), we should use (receiver operating characteristic) ROC (area under ...